package edu.uoc.tdp.pac4.common;

import java.rmi.RemoteException;
import java.util.Date;
import java.util.List;

import edu.uoc.tdp.pac4.beans.Course;
import edu.uoc.tdp.pac4.client.stats.StatResultData;

public interface StatisticsManagerInterface extends java.rmi.Remote {

	public String dummyMethod(String param) throws RemoteException;

	public List<String> dummyMethod2(int colsnum) throws RemoteException;

	public List<StatResultData> getStudentResult() throws RemoteException;

	public List<StatResultData> getStudentResult(Date initialDate,
			Integer courseType, String dniAlumne) throws RemoteException;

	// Some helpers:
	public List<Course> loadAllCourses() throws RemoteException;

	public List<StatResultData> getTeacherStat1(Date date, String nameCourse, String dniProf) throws RemoteException;
	public List<StatResultData> getTeacherStat2(Date date, String nameCourse, String dniProf) throws RemoteException;
	
	
	public List<StatResultData> getStaffStat1(Date date, String nameCourse) throws RemoteException;
	public List<StatResultData> getStaffStat2(Date date, String nameCourse) throws RemoteException;
	public List<StatResultData> getStaffStat3(Date date, String nameCourse) throws RemoteException;
	public List<StatResultData> getStaffStat4(Date dateIni, Date dateEnd) throws RemoteException;
	public List<StatResultData> getStaffStat5(String nameCourse) throws RemoteException;
}
